package com.xxkk.gameCore.net.sql.pojo;

import java.util.List;

public class ServerInfo {
    private Integer id;

    private Integer serverId;

    private String serverName;

    private Integer serverState;

    private String serverType;

    private String netIp;

    private String ip;

    private Integer webSocketPort;

    private Integer tcpPort;

    private Integer dispatcherPort;

    private List<AreaInfo> areaInfos;

    public ServerInfo(Integer id, Integer serverId, String serverName, Integer serverState, String serverType, String netIp, String ip, Integer webSocketPort, Integer tcpPort, Integer dispatcherPort) {
        this.id = id;
        this.serverId = serverId;
        this.serverName = serverName;
        this.serverState = serverState;
        this.serverType = serverType;
        this.netIp = netIp;
        this.ip = ip;
        this.webSocketPort = webSocketPort;
        this.tcpPort = tcpPort;
        this.dispatcherPort = dispatcherPort;
    }

    public ServerInfo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getServerId() {
        return serverId;
    }

    public void setServerId(Integer serverId) {
        this.serverId = serverId;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public Integer getServerState() {
        return serverState;
    }

    public void setServerState(Integer serverState) {
        this.serverState = serverState;
    }

    public String getServerType() {
        return serverType;
    }

    public void setServerType(String serverType) {
        this.serverType = serverType;
    }

    public String getNetIp() {
        return netIp;
    }

    public void setNetIp(String netIp) {
        this.netIp = netIp;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getWebSocketPort() {
        return webSocketPort;
    }

    public void setWebSocketPort(Integer webSocketPort) {
        this.webSocketPort = webSocketPort;
    }

    public Integer getTcpPort() {
        return tcpPort;
    }

    public void setTcpPort(Integer tcpPort) {
        this.tcpPort = tcpPort;
    }

    public Integer getDispatcherPort() {
        return dispatcherPort;
    }

    public void setDispatcherPort(Integer dispatcherPort) {
        this.dispatcherPort = dispatcherPort;
    }

    public List<AreaInfo> getAreaInfos() {
        return areaInfos;
    }

    public void setAreaInfos(List<AreaInfo> areaInfos) {
        this.areaInfos = areaInfos;
    }
}